<template>
  <Button type="primary" @click="handleOpen">打开Modal</Button>
</template>

<script setup lang="ts">
import { Button, Modal } from "leisure-lib";
const handleOpen = () => {
  Modal.open("您已经打开了Modal", {
    title: "我是Modal",
    onOk: (contentInstance) => {
      console.log("🚀 ~ handleOpen ~ contentInstance:", contentInstance);
    },
  });
};
</script>

<style scoped></style>
